﻿using UnityEngine;
using System.Collections;

public interface IObjectProperty
{
    /// <summary>
    /// 是否产生碰撞
    /// </summary>
    bool isLayerCollider { get; }

    /// <summary>
    /// 是否可以拖拽
    /// </summary>
    bool isDrag { get; }

    /// <summary>
    /// 是否可以被选取
    /// </summary>
    bool isSelect { get; }

    /// <summary>
    /// 是否检测透明度
    /// </summary>
    bool isHitTransparent { get; }

    void Selected(bool flag);

    void Move(Vector2 delta);

    void Gizmos(bool flag);

    void Block(bool flag);
}
